package org.flexr.view
{
	import flash.display.DisplayObjectContainer;
	
	import mx.containers.TabNavigator;
	
	import org.flexr.model.Introspect;
	
	public class ObjectOutputController
	{
		public function ObjectOutputController(parentElement:DisplayObjectContainer, ObjectToDisplay:Introspect ):void
		{
			var objectTab:ObjectTab = new ObjectTab();
			(parentElement as TabNavigator).addChild(objectTab);
			objectTab.setObject(ObjectToDisplay);

		}

	}
}